package cn.jeefast.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 数据模板主要指标

 * </p>
 *
 * @author theodo
 * @since 2019-12-30
 */
@TableName("mb_research_step_data_template_main_indicators")
public class MbResearchStepDataTemplateMainIndicators extends Model<MbResearchStepDataTemplateMainIndicators> {

    private static final long serialVersionUID = 1L;

	@TableId(value="mi_id", type= IdType.AUTO)
	private Long miId;
    /**
     * 关联模板ID
     */
	@TableField("temp_id")
	private Long tempId;
    /**
     * 1:食欲 2：精神 3：乏力
     */
	@TableField("mi_type")
	private Integer miType;
    /**
     * 评分
     */
	@TableField("mi_number")
	private Integer miNumber;
    /**
     * 中文描述
     */
	@TableField("mi_remark")
	private String miRemark;
    /**
     * 0：非必填 1：必填
     */
	@TableField("mi_must")
	private Integer miMust;
    /**
     * 0：不显示 1：显示
     */
	@TableField("mi_show")
	private Integer miShow;


	public Long getMiId() {
		return miId;
	}

	public void setMiId(Long miId) {
		this.miId = miId;
	}

	public Long getTempId() {
		return tempId;
	}

	public void setTempId(Long tempId) {
		this.tempId = tempId;
	}

	public Integer getMiType() {
		return miType;
	}

	public void setMiType(Integer miType) {
		this.miType = miType;
	}

	public Integer getMiNumber() {
		return miNumber;
	}

	public void setMiNumber(Integer miNumber) {
		this.miNumber = miNumber;
	}

	public String getMiRemark() {
		return miRemark;
	}

	public void setMiRemark(String miRemark) {
		this.miRemark = miRemark;
	}

	public Integer getMiMust() {
		return miMust;
	}

	public void setMiMust(Integer miMust) {
		this.miMust = miMust;
	}

	public Integer getMiShow() {
		return miShow;
	}

	public void setMiShow(Integer miShow) {
		this.miShow = miShow;
	}

	@Override
	protected Serializable pkVal() {
		return this.miId;
	}

	@Override
	public String toString() {
		return "MbResearchStepDataTemplateMainIndicators{" +
			", miId=" + miId +
			", tempId=" + tempId +
			", miType=" + miType +
			", miNumber=" + miNumber +
			", miRemark=" + miRemark +
			", miMust=" + miMust +
			", miShow=" + miShow +
			"}";
	}
}
